let arr11: [number, string];
arr11 = [1, "2"];

let arr12: [number, boolean?];
arr12 = [1, false];
arr12 = [1];

let arr13: [string, ...number[]];
arr13 = ["1", 2, 3, 4];
arr13 = ["1"];
